questionDialog

Dialog prompting a User to respond 'Yes' or 'No' to a question.

Contents

Syntax

R = questionDialog(Q, T)

Description

R = questionDialog(Q, T) displays a dialog with question Q and title T prompting the User to respond 'Yes' or 'No'.

If 'Yes' is clicked, R = 1, otherwise R = 0 if 'No' is clicked.

Example

Q = 'Plot live streaming data?';
T = 'Streaming Data Plot';

R = questionDialog(Q, T);

R
R =

     1

Input Arguments

Output Arguments

See Also

questdlg

Copyright: © 2015 Pico Technology Ltd. All rights reserved.